package model

const (
	CONCAT_CATE_USER     = 0x01
	CONCAT_CATE_COMMUNITY = 0x02
)
type Contact struct {
	GN_MODEL
	OwnerId uint64 `json:"owner_id" gorm:"type:bigint(20);unsigned;comment:所属谁的id"`
	DstId uint64 `json:"dst_id" gorm:"type:bigint(20);unsigned;comment:对方的id"`
	Cate int8 `json:"cate" gorm:"type:tinyint(4);unsigned;comment:类型 1-好友 2-群聊"`
	Memo string `json:"memo" gorm:"type:varchar(255);comment:备注"`
}